package com.mayikt;

import sun.misc.Unsafe;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @ClassName Test010
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
public class Test010 extends Thread {
    private Lock lock = new ReentrantLock();


    @Override
    public void run() {
        lock.lock();

    }

    public static void main(String[] args) {

    }
}
